package test;

/**
 * @Author:zimmor
 * @Date: 2021/3/30 10:10
 * @Description
 * @version: 1.0.0
 */

public class User {
    private String name;
    private String age;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }

    public void test() {
        User user = new User();
        user.name = "xiaomiang";
        user.age = "23";
        System.out.println(user.toString());
    }
}
